package controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import service.OtherService;

import java.util.List;


@Controller
@RequestMapping("OtherController")
public class OtherController{
    @Autowired
    OtherService os;

    //二级菜单查询
    @ResponseBody
    @RequestMapping("menuNav")
    public List menuNav(Integer uroleid){
       return os.menuNav(uroleid);
    }



}
